
import { getUrl,  postUrl } from "../until/request"

/**
 * @description: 获取所有文章
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const getAllCounselHttp = async (url, params) => await getUrl(url, params)

/**
 * @description: 删除
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const delCounselHttp = async (url, params) => await getUrl(url, params)  

/**
 * @description: passHttp
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const isCounselStateHttp = async (url, params) => await postUrl(url, params)

/**
 * @description: passHttp
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
 export const editSounselHttp = async (url, params) => await postUrl(url, params)






